﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Solution.Entity.Base;

namespace Solution.Entity.Entitys
{
    public partial class Employee : BaseEntity
    {
        public Employee()
        {
            this.EmpRoleRelation = new HashSet<EmpRoleRelation>();
            this.VipPermssion = new HashSet<VipPermssion>();
        }
     
        public Nullable<int> empDepId { get; set; }
        public string empCnName { get; set; }
        public string empLoginName { get; set; }
        public string empLoginPwd { get; set; }
        public bool empSex { get; set; }
        public short empAge { get; set; }
        public string empCellPhone { get; set; }
        public string empPhone { get; set; }
        public string empAddress { get; set; }
        public bool empIsDel { get; set; }
        public System.DateTime empAddTime { get; set; }

        public virtual Department Department { get; set; }
        public virtual ICollection<EmpRoleRelation> EmpRoleRelation { get; set; }
        public virtual ICollection<VipPermssion> VipPermssion { get; set; }
    }
}
